ScrolledWindow: Fix non-disconnection of handlers
authorDaniel Boles <dboles@src.gnome.org>
Thu, 31 Aug 2017 22:18:46 +0000 (23:18 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 31 Aug 2017 22:18:46 +0000 (23:18 +0100)
commitceb09e4c8d593165c4086c4def431c47dad03175
tree69f17ff2f6c0045707e4c3ef9d757461850031f2
parent6984d0847b7e70bc7108c7b298bab1c85e708f7c
ScrolledWindow: Fix non-disconnection of handlers

• Use disconnect_by_data() to catch both _adjustment_changed() and now
  _adjustment_value_changed(), as the latter had been missed until now.

• Also disconnect from indicator_value_changed(), which was not done in
  destroy() due to indicator_reset() and remove_indicator() disagreeing.

https://bugzilla.gnome.org/show_bug.cgi?id=775074
gtk/gtkscrolledwindow.c